MailjetWp\MailjetPlugin\Includes\MailjetApi C

Total Complexity 117
Dependencies 7
Dependents 13
Total lines 561
Lines of code 407
Logical lines of code 288
Comment lines 93
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
getApiClient()
A
49 12 25
checkContactSubscribedToList()
A
50 11 26
getProfileName()
S
54 7 20
getSubscribersFromList()
S
50 6 28
isValidAPICredentials()
S
54 6 22
createTemplate()
S
55 6 20
createMailjetSegment()
S
54 6 20
syncMailjetContact()
S
54 5 21
getContactListByID()
S
55 5 20
createMailjetContactProperty()
S
55 5 20
getTemplateDetails()
S
57 5 17
createTemplateContent()
S
58 5 16
getTemplateByName()
S
57 5 16
syncMailjetContacts()
S
57 4 17
getMailjetContactLists()
S
57 4 17
getMailjetSenders()
S
57 4 17
getContactProperties()
S
57 4 17
createMailjetContactList()
S
57 4 17
sendEmail()
S
57 4 17
getMailjetSegments()
S
59 4 16
isContactInList()
S
59 4 13
updateContactData()
S
71 1 5